package com.ssm.user.designPattern.templatePattern.easy;

/**
 * 继承抽象类后，要实现抽象类的抽象方法，只能在父类的定义好的架构中重写方法
 */
public class FootballGame extends Game{
    @Override
    void initialize() {
        System.out.println("FootBall Game initialize");
    }

    @Override
    void startPlay() {
        System.out.println("FootBall Game startPlay");
    }

    @Override
    void endPlay() {
        System.out.println("FootBall Game endPlay");
    }
}
